<script setup lang="ts">
import {
	useUserStore
} from '@/store/modules/user'
import { onBeforeUnmount } from 'vue'
import { onShow } from '@dcloudio/uni-app'

onShow(() => {
    useUserStore().setGetWaybillTimer()
})

onBeforeUnmount(() => {
	// 清除获取进行中运单定时器
	useUserStore().clearGetWaybillTimer()
})
</script>
<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "uview-plus/index.scss";
@import '@/static/scss/index.scss';
</style>
